package com.tallerdealejandria.util;

/**
 *
 * @author Oathmind
 */
public class Mapeo {

    private String accion;
    private String titulo;
    private String pagina;
    private boolean usarTemplate = false;

    /**
     * @return the titulo
     */
    public String getTitulo() {
        return titulo;
    }

    /**
     * @param titulo the titulo to set
     */
    public void setTitulo(String titulo) {
        this.titulo = titulo;
    }

    /**
     * @return the pagina
     */
    public String getPagina() {
        return pagina;
    }

    /**
     * @param pagina the pagina to set
     */
    public void setPagina(String pagina) {
        this.pagina = pagina;
    }

    /**
     * @return the usarTemplate
     */
    public boolean isUsarTemplate() {
        return usarTemplate;
    }

    /**
     * @param usarTemplate the usarTemplate to set
     */
    public void setUsarTemplate(boolean usarTemplate) {
        this.usarTemplate = usarTemplate;
    }

    /**
     * @return the accion
     */
    public String getAccion() {
        return accion;
    }

    /**
     * @param accion the accion to set
     */
    public void setAccion(String accion) {
        this.accion = accion;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Mapeo other = (Mapeo) obj;
        if ((this.accion == null) ? (other.accion != null) : !this.accion.equals(other.accion)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 83 * hash + (this.accion != null ? this.accion.hashCode() : 0);
        return hash;
    }
}
